package com.dinian.demeter.mapper;

import com.dinian.demeter.domain.Fault;

import java.util.List;


public interface FaultMapper {

    int insertFault(Fault fault);

    Fault queryFaultById(Long id);

    List<Fault> queryFaultByUserId(Long id);

    void updateFault(Fault fault);

    void deleteFaultByIds(long[] ids);

}
